package com.jorado.etl;

import com.jorado.event.EventClient;
import com.jorado.event.dubbo.util.SpringUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

import java.io.IOException;

/*
 * Created by len.zhang on 2018/4/17.
 *
 */
@SpringBootApplication
@Import(SpringUtils.class)
public class Startup {

    public static void main(String[] args) throws IOException {

        EventClient.getDefault().submitLog("Startup begin.....");

        SpringApplication.run(Startup.class, args);

        System.in.read();
    }
}
